package com.kt.uokos.yimo.service;

import com.kt.uokos.yimo.dao.Category;

import java.util.List;

public interface CategoryService {
    List<Category> queryChannel();
    List<Category> queryByPid(Integer pid);
    List<Category> queryL1Selective(int offset,int limit);
    List<Category> queryL2ById(List<Integer> id);
    List<Category> queryAllL1();
    Category queryById(Integer id);
    List<Category> queryL1();
    void add(Category category);
    void delete(Integer id);
    void update(Category category);
    int updateById(Category category);
}
